package com.example.stormold.entity;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.annotation.JSONType;

import java.io.Serializable;

@JSONType(orders={"id","name","age"})
public class Info implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 7711275756637744506L;
	private int id;
	private String name;
	private String age;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAge() {
		return age;
	}
	public void setAge(String age) {
		this.age = age;
	}
	public Info() {
		
	}
	public Info(int id, String name, String age) {
		super();
		this.id = id;
		this.name = name;
		this.age = age;
	}
	@Override
	public String toString() {
		return JSON.toJSONString(this);
	}
}
